package com.jctrip.hotel.source.model.dossen;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: beihai
 * @Date: 2022/9/22 17:19
 * @Description:
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DossenGetPriceAndCountReq {
    /**
     * 酒店ID
     */
    @NotBlank
    private String hotelId;

    /**
     * 房型ID
     */
    private String roomTypeId;

    /**
     * 入住时间
     */
    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String checkInDay;

    /**
     * 离店时间
     */
    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String checkOutDay;

    /**
     * 为 true 展示限时活动(默认不展示)
     */
    private Boolean isShowTimeLimitActivity;

    /**
     * (多个活动, 逗号分隔, 最多10个
     */
    private String activityCode;

}
